package Fiest_01.second;

public class area {
    private int r;
    private int a;
    private int b;
    public area(){}
    public area(int r,int a,int b){
        this.r=r;
        this.a=a;
        this.b=b;
    }
    public void setR(int r){
        this.r=r;
    }
    public int getR(){
        return r;
    }
    public void setA(int a){
        this.a=a;
    }
    public int getA(){
        return a;
    }
    public void setB(int b){
        this.b=b;
    }
    public int getB(){
        return b;
    }
    public void yuan(){
        System.out.println(3.14*r*r);
    }
    public void changfangxing(){
        System.out.println(a*b);
    }
}